FROM elasticsearch:6.4.2

RUN wget -P /usr/share/elasticsearch/plugins http://112.74.17.174/elast-ik.zip

RUN unzip -d /usr/share/elasticsearch/plugins/ik /usr/share/elasticsearch/plugins/elast-ik.zip

RUN rm /usr/share/elasticsearch/plugins/elast-ik.zip
  
EXPOSE 9200
EXPOSE 9300